<div class="images form">
<?php echo $form->create('Image', array('type' => 'file'));?>
	<fieldset>
 		<legend><?php __('Add Image');?></legend>
	<?php
		//echo $form->input('post_id', array('empty'=>true));
		echo $form->input('title');
		echo $form->input('order');
		//echo $form->input('filename');
		//echo $form->input('dir');
		//echo $form->input('mimetype');
		//echo $form->input('filesize');
		echo $form->input('filename', array('type' => 'file','label' => __('Upload a new file', true)));
	?>

	</fieldset>
<?php echo $form->end('Submit');?>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('List Images', true), array('action'=>'index'));?></li>
		<li><?php echo $html->link(__('List Imagesets', true), array('controller'=> 'imagesets', 'action'=>'index')); ?> </li>
		<li><?php echo $html->link(__('New Imageset', true), array('controller'=> 'imagesets', 'action'=>'add')); ?> </li>
	</ul>
</div>
